#include <stdio.h>

/*换分币*/

void main ()
{
    int i,j,k,count=1;
    printf("There are following samll exchanges plans for 1Yuan note:\n");
    for(i=0;i<100;i++)
        for(j=0;i<100-i;j+=2)
            for(k=0;k<=100-i-2*j;k+=5)
            if(i+j+k==100)
            printf(count%4?"%d:1*%d+2*%d+5*%d\t"
            :"%d:1*%d+2*%d+5*%d\n",count++,i,j/2,k/5);

}
